Practice Test


Q1) A common dialog box can be placed at any location in a form. Show Answer


Q2) The size of the common dialog box can be decided by the programmer. Show Answer


Q3) The color dialog box limits the user to a few limited color values. Show Answer


Q4) The common dialog box object starts with the prefix dlg. Show Answer


Q5) A sub-procedure can be called only from an event procedure. Show Answer


Q6) If a program is split up into smaller logical units, it is more difficult to debug. Show Answer


Q7) A procedure can have two or more arguments or parameters. Show Answer


Q8) A function procedure can return one or more data values to the calling procedure. Show Answer


Q9) Functions help in the reusability of code. Show Answer


Q10) A sub-procedure cannot modify the values of arguments passed to it. Show Answer


Q11) Variables declared inside a sub-procedure with the Dim keyword are local variables. Show Answer


Q12) Passing by value is the same as sending a copy of the variable to a sub-procedure. Show Answer


Q13) A sub-procedure can be called only with one argument. Show Answer


Q14) Global variables can be shared by all procedures of a program. Show Answer


Q15) Global variables should be used as much as possible. Show Answer


Q16) Of these, _____is not valid show method of common dialog box Show Answer


Q17) _____procedure is the procedure that is executed in response to events such as mouse click. Show Answer


Q18) Variables can be shared by different procedures of a program if they are _____. Show Answer


Q19) Common dialog box _____. Show Answer


Q20) The prefix for naming a menu item is _____. Show Answer


Q21) Which of these is an advantage of using procedures and functions? Show Answer


Q22) Every procedure is terminated by the _____statement. Show Answer


Q23) When it is desired that a menu item does not appear at run time, it must be ensured that the following property/properties must be set to false. Show Answer


Q24) What is the final keyword used to indicate the end (compilation) of a sub procedure? Show Answer


Q25) Which of the only event for a menu control is available? Show Answer


Q26) When variables are passed by reference (ByRef)to a SUB program, Show Answer


Q27) When creating a menu, how do you create a menu seperation bar: Show Answer